<template>
    <div>
        程序员<input type="text" v-model="job">
    </div>
</template>

<script>
export default {
    name:'inp2',
    data() {
        return {
            job:'程序员'
        };
    },
    methods:{

    },
    mounted(){
        this.$EventBus.$on('hello',(data) =>{
            console.log(data)
        })
    },
    activated(){
        console.log("activated...B")
    },
    deactivated(){
        console.log("deactivated...B")
    }
};
</script>

<style scoped lang="scss">

</style>
